Material failure by void coalescence in localized shear bands