Cooling and quenching of 24 MgH + ( X 1 (cid:2) + ) by 4 He( 1 S ) in a Coulomb trap: A quantum study of the dynamics