The development Tuesday is the latest over the decades to undo past discrimination against LGBTQ service members.