A state trial court ordered the state to redraw the district to include a greater number of Black and Latino voters.