The decision changed little in the short term, but it signaled a significant change in the government’s approach to transgender issues under President Trump.