Investigation of Rupture and Slip Mechanisms of Hydraulic Fractures in Multiple-Layered Formations