A federal judge in Washington on Monday blocked President Donald Trump from banning transgender people from serving in the U.S. military, handing a victory to transgender service members who accused the president of violating their constitutional rights.