Ensure redecls are part of the chain when unloading (ROOT-6832).