Modelling instabilities in triaxial testing on unsaturated soil specimens