The Trump administration has won an exemption for oil and gas drilling in the Gulf of Mexico from the Endangered Species Act on the basis of national security.