A federal appeals court ruled Monday that the Pentagon’s policy to kick out transgender troops was illegal, halting the administration from removing more than two dozen transgender service members who have sued the Pentagon.A majority of the three-judge panel of the US Court of Appeals for the District of Columbia…