Structural shape sensitivity analysis for nonlinear material models with strain softening