Remove unused and unnecessary check for FederationDeniedError in _exception_to_failure.