A three-dimensional mechanism for global stability of slurry trench in frictional soils