President Donald Trump's plan to deploy the military on U.S. soil is sparking conflict with blue state governors that is playing out in the courts