Split name-minification into a separate pass from registerization.