On the compressive strength of microcracked elastic solids