A federal appeals court has blocked the Pentagon from forcing transgender troops out of the military after finding President Trump’s ban was unlawfully imposed.