Bill Gates left Microsoft board amid investigation into alleged affair