simplify tracebackMkWeakHeads

In preparation for completely removing dgMkWeaks, because it almost seems
superfluous.