A U.S. federal judge rules immigration authorities cannot indefinitely halt green card applications tied to travel-restricted countries.