President Trump on Tuesday more than doubled the list of countries subject to his travel ban or to heavy restrictions, bringing the total number of nations affected to 39.