Federal judge bars U.S. from deporting travelers with valid visas