Use IdenticalDigestDecideRule to determine if dupByHash instead of
relying on annotations.