The role of microcracking in shear-fracture propagation in granite