A three-panel court blocked the Trump administration from banning transgender troops from the United States military, though it did not alter precedent for new troops wanting to enlist.