unify registerize and minify passes, since they must run in conjunction