Jeremy Corbyn to leave post as leader of the Labour Party