Remove reference indexes from ref strings coming back from pdfx.