"Demolish" takes targets, but I don't believe you can choose Undead in Targets Allowed. You'll have to use a dummy ability and trigger the effect via damage detection (something relatively easy to do with the systems Bribe has made) or flag all of the Undead units in your map as Suicidal, and allow your custom Demolish ability to target Suicidal units.