generateSpineFromTableOfContents

Rebuilds the Spine so its order matches the TableOfContents.

Preserves the existing spine's tocResource.