strip IMI from CRID to unbreak duplicate matching

Refs #11757
extend unit test to avoid a regression (CRID without IMI)