One of President Trump's signature immigration ideas has suffered a major legal defeat when a federal trial court judge temporarily…