ExtensionRegistry should not cache any ManagementResourceRegistration so it won't use the wrong one after it's cloned
[WFCORE-21] Revert ExtensionRegistry changes if the operation that made them rolls back