Democratic and civil rights groups sued, arguing that the citizenship proof requirement would block eligible voters from registering.