Reduce the amount of state in the lowering code and drop old pattern ISel functions