joinToTargets to emit fixup code even when movement graph contains cycles