I believe Alex at Gnomon talked about a solution to this type of thing
in his tutorial about proper arm IK. (lower-arm rotation without the whole arm rotating with it)
In his tut, he shows how to add a joint to an already linked/IK'd bone structure.
Then he goes about making the joint rotate on separate axis' than the surrounding bones.
(Don't quote me on that, I havn't been there for a while.... sorry Alex:)
Check the Gnomon Workshop for the tut on IK arm setup, or something,
and I think it may lead you to a solution to your prob:)
Also, have you tryed grouping the whole leg that you want to "twist",
so as to give you a "new" adjustable rotation pivot point?
(Not sure if that will work though.....)
Izzy
VFX Artist | Maya Animator
Arena Digital Effects
http://www.arenadigital.net