A US judge temporarily blocked Trump's ban on transgender individuals serving in the military, citing equality.