The role of equilibrium volume and magnetism on the stability of iron phases at high pressures