Fix broken phi elimination.