The president has removed his national security adviser and sent him off to be an ambassador to the United Nations, a body Trump holds in contempt.