only record the past when the cache is actually returned
`activate_past_recording` was guarded on the `cache` argument rather than on
`self.cache`, so recording was switched on even where the rollback had been
deliberately skipped. Two things follow from that: sliding-window layers stop
being trimmed, which is the shape mismatch in the sliding-window test, and a
kernel that writes the conv cache in place has to stand aside for the eager
path, which costs ~18% a step on a gated-delta-net model.