The best way would probably be to use a DDS system (such as lookingforhelp's or Bribe's DDS). When a unit is damaged, check if they have that ability and activate it if necessary.
You'll also have to beware of when you set a unit's life specifically (through triggers), since that doesn't fire the damage event. I don't think there is a generic "unit's life falls below some %" event.