Stability of cohesive-frictional soils with square underground openings