US Senate confirms Gina Haspel despite criticism over ties to torture programme used by CIA on 'terror' suspects.