South Carolina Gov. Nikki ­Haley departed sharply and sometimes awkwardly from President-elect Donald Trump on several foreign policy issues Wednesday and told senators that as United Nations ambassador she would not hesitate to disagree with her boss.