US Senate confirms Avril Haines as intelligence chief