Federal court blocks Trump's transgender military ban