Merge the OptimizeExts and OptimizeCmps passes into one PeepholeOptimizer