Soil slips and debris flows on terraced slopes