Judge blocks Trump's spending freeze