sparse: clear rules in the context of a `parentchanges` context
This is the same logic as the change we did for narrow.
Differential Revision: https://phab.mercurial-scm.org/D11029
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\nOK.