Microsoft, fighting class action, acknowledges gender imbalances in tech industry