Texas officials had asked the Supreme Court to revive the map, which was designed to help Trump's party keep control of Congress in midterm elections.