Bill Gates resigns as Microsoft board chair