Put the passive abilities you want to "get rid" of inside a spellbook, give that spellbook to your unit and then disable the spellbook for the player. The spellbook itself will be disabled (icon hidden, impossible to open), but the abilities inside will still be active.
Kind Regards