A gradient plasticity approach to finite element predictions of soil instability