restore current ssa value from phi nodes