Damage localization and stability in electroactive polymers