Self-healing shunt capacitor