A federal judge rejected a renewed Republican challenge to the state’s legislative map, finding no evidence that race was the primary factor in redrawing the boundaries.