Faced with a string of legal defeats across the country, President Trump on Thursday effectively abandoned efforts to uphold his controversial ban on travel from several countries with links to terrorism and said he would issue a new order next week crafted to withstand constitutional challenges.