US judge indefinitely extends ruling halting travel ban