A Modified Phase-Field Fracture Model for Simulation of Mixed Mode Brittle Fractures and Compressive Cracks in Porous Rock