[Git][ghc/ghc][wip/T23162-spj] Improve tracking of RewriterSets