A North Carolina redistricting ruling has set up a possible electoral windfall for congressional Republicans in preserving their U.S. House majority next year, declaring that judges should stay out of scrutinizing seat boundaries for partisan advantage.