remove check on .equals for InferredOWLOntologyID

the inferred uri should not be relied on for set insertion, as it
creates unnecessary issues with equality testing for ontologyIRI and
versionIRI combinations