Mass forgetMemoizedResults can be done more efficiently than bunch
of individual invocations of helper because we can traverse maps being
updated just once, rather than doing this for each invidivual SCEV.
Should be NFC and supposedly improves compile time.
Personally, I'd inline this into the single caller as having it out of line doesn't seem to add any value, but I don't hugely care either way.