MHD simulations of accretion onto a dipolar magnetosphere - II. Magnetospheric ejections and stellar spin-down