A federal judge has temporarily halted President Donald Trump's plan to deploy National Guard troops in Chicago, citing constitutional concerns.