Donald Trump's aides defended his proposal but backed away from elements of it after international condemnation.