Uniaxial compressive failure of brittle materials as instability of damaging microcracked solids