Critical density and impact of Δ(1232) resonance formation in neutron stars