The travel ban could affect more than 40 countries, far beyond the restrictions set in Trump's first term.