Add support for correctly removing duplicates from extended maps and
refset descriptor files.