The brief ruling came two months after the court allowed Texas to use a new map designed to benefit Republicans.