The G.O.P. has seized an edge on redistricting thanks to two court rulings, and it has more room to maneuver for extra seats ...