Adding a pole target causes bones to ignore their IK constraints
As it turns out, this is impossible. The issue of ik constraints being ignored because of a pole target is a known problem. Hopefully support for this function will be added in the future. I might have to look into fixing it myself.