convert: make filemap prune useless branch closing revs (issue2774)
A branch closing revision only applies if one of its parents belongs to the
branch being closed. Otherwise the filemap can prune it too.
Ancestors of 54 2 0 Ancestors of 6 and 53 4 2 1 0 Ancestors of 5 and 44 2 0 Descendants of 57 8 Descendants of 5 and 36 7 8 Descendants of 5 and 45 7 8