Check for instances and assignments that are literally identical.
This is a heuristic for generating warnings. We look for assignments, module instances, and gate instances that are identical up to stripping as described in stripping-functions. These sorts of things might well be copy/paste errors.