Softening in flexed beams with non-convex stored energy function