Deduplicate objects during full repack

Nothing else in our pipeline currently prevents creating duplicate objects.  In
fact, this happens any time you insert an object already existing in a pack
file.

Signed-off-by: Morten Hustveit <morten.hustveit@gmail.com>