* tree-ssa-phiopt.c (replace_phi_with_stmt): New function extracted