Computation of post-bifurcation and post-failure behavior of strain-softening solids