The decision offers some relief to health care providers and patients seeking gender-affirming care.