Judge blocks emergency funding for Trump's wall