Soil mechanics and plasticity analysis of strain softening