Ensure that PHI nodes remain grouped together.

When adding instrumentation for a PHI node, add it in the first available position after the entire group of PHI nodes.