Unraveling the abnormal dependence of phase stability on valence electron concentration in Ni–Mn-based metamagnetic shape memory alloys