Simplify `createCache` bailout.
Simplify dependency map modifications, and fix typos in `getIndexOf` replacements.
Move `support` object cleanup after unused variable cleanup in build.js.