t/dedupe: avoid div-by-zero for all identical chunks