Remove trivial phis

No custom-selection optimizations for now.