Studying the effect of a defective alloy structure on the localized shear fracture under different types of dynamic loading