Yeah... I could see where that might still happen. It's a tricky bit to write AI for.
I mean, I can see where some builds might happily plop their SP down to 0 Refreshing guys, even if they have an ability or two that needs SP and are simply choosing not to use them in favor of Refreshing.
Of course, one of the keys to trigger the AI Refreshing you is... not having enough SP to use all your abilities. Which is normally a great rule. But.. not always, as it turns out. Writing rules to try and figure out the player's intent based on their build/actions is always a tricky business, and in this case it may be effectively impossible to get it right.
So what I did do was add what should be a hard lock that won't allow the AI to give SP to someone who themselves gave SP away last turn... but extending that lock more than 1 turn starts to enter dangerous territory where the player may now, in what is a different situation 2+ turns later, really want that Gandayah to give the SP back.
All that said, your solution may actually be the best one: If you plan on funneling a lot of SP to a character, you probably should not let them have Refresh themselves (after all, if you really want the SP to go somewhere else, you could just send it yourself anyway.)