The court ordered the state legislature to draw a new map by Dec. 8.