Mind Flayer's Stun can't be dispelled maybe, but I could swear I remember casting Free Action on a stunned person and having it work. If that doesn't work, have a Mage cast Invisibility on the stunned person so the Illithid doesn't eat his/her brain!