Chief operating officer and ‘first real adult in the room at Facebook’ departs social media giant