Magma mixing by convective entrainment