'Cap' smoothing added to MohrCoulomb

Two tests illustrating the correctness.

Fixes #4139