Tweak remove_superfluous_config_keys

No need to dup here, since `@config` is a dup created in `#initialize`.