President Donald Trump signed an order to shut down the federal department as part of a campaign promise to return control of education to the states.