Split name-minification into a separate pass from registerization.
Address review comments.
Merge pull request #2016 from rfk/rfk/minify-names-separately

Split name-minification into a separate pass from registerization.