Prune more unnecessary phis