Combined stability analysis of phase-field dynamic fracture and shear band localization