Ohio wins ruling in purging voters from registration