US Senate confirms Nikki Haley as UN envoy