Pruned some useless code in html5-upgrade

Pruned some choose branches after many occurrences of

Saxon reported static errors when trying to evaluate expressions
on the sequence (empty) content
Merge pull request #30 from daisy-consortium/html5-upgrade-fixes

Pruned some useless code in html5-upgrade