The map’s passage was a major victory in President Trump’s push to get Republican state leaders to help his party keep control of the U.S. House.