Lie group analysis and propagation of weak discontinuity in one-dimensional ideal isentropic magnetogasdynamics