A Simplified Failure Criterion for Intact Rocks Based on Rock Type and Uniaxial Compressive Strength