Washington Post: Nikki Haley has resigned as the US ambassador to the United Nations and will leave her post in January, in a move that stunned allied diplomats and other senior officials.