US President Donald Trump has said Palestinians in Gaza are not going to be expelled, backtracking on his comments.