Maybe use Demolish?
Been there, done that.
Players discovered how to exploit the trigger by attacking and pressing repeatedly S (for stop command), so the unit doesn't attack, but the trigger does many times faster than the unit could.
Now experimenting with Demolish. I hope it'll work fine. If only I could make it work for the secondary attack too...