The fight over medical care for transgender children overshadowed many of the bipartisan provisions in the National Defense Authorization Act.