A redistricting battle among states has reshaped voting districts for the U.S. House ahead of the November midterm elections.