Twitter beat expectations – including its own – by a healthy margin on Tuesday, announcing better-than-anticipated earnings even as two more high-profile executives left amid a continuing shakeup. The company’s share price rallied 5.36% in after-hours trading.