Twitter chief executive Jack Dorsey has confirmed the exit of a large swathe of the company’s leadership team.