minor cleanups in minifyLocals