Amazon will investigate gender discrimination at cloud unit