Self-consistent micromechanical approach for damage accommodation in rock-like polycrystalline materials