ref #7951 ReferenceLabelProvider: fixing wrong string replacement for more complete ellipsis
fix #7951 ReferenceLabelProvider to ellipsis the reference labels