Ruling on transgender military ban