Everything is working perfectly but ik bones are going kind of out of the way. I mean they just move out from the arm. I think there must be something wrong with parenting.
My first guess would be that you don't have full IK influence or you have the the copy transform constraints on the def bones in the wrong order.