The Microsoft founder reportedly told top executives that he’d put an end to the “flirtatious” messages he sent to midlevel female worker in 2007.