The politicians filed briefs asking the justices to protect democracy by declaring unconstitutional the practice involving the drawing of voting districts.