The panel was not swayed by arguments that lawmakers can’t choose to redistrict solely for political advantage.