make iri_split more failure resilient

iri_split sadly needs to work on non-iris too.