remove some redundant global variables in anyconfig.mergeabledict, and related changes
follow changes in previous commit