SERVER-10060 check uniqueness of _id before migration upserts