Compression induced shear damage in brittle solids by scattered microcracking