US President Donald Trump derided the Department of Education as wasteful and polluted by liberal ideology.