Keep ancestors in second tree when splitting

EPUB/AZW3 Output: When splitting HTML on page breaks, preserve tag
structure in the split files. This fixes splitting losing some styling
information for HTML files that define page breaks on deeply nested
tags. Fixes #1188768 [fonts change midfile without being ordered to](https://bugs.launchpad.net/calibre/+bug/1188768)