A stabilized mixed-FE scheme for frictional contact and shear failure analyses in deformable fractured media