Remove complex phi nodes from graph

Phi nodes are only used during virtual interpretation, and removed whenever
the result is used again.