I think best solution right now is to use <stnpc> instead of <t> in your macro.
It targets nearest enemy npc, but you can still decide if you fire it off on this mob or switch to a link or something.
Macro would looke like this: /ma "stun" <stnpc>