A new study found that transgender people in the military may get long-term, positive benefits on their mental health, quality of life from military service.