Last year, legislators passed a ban on gender surgery for minors, but wound up allowing treatment with medication under narrowly-tailored circumstances.