Optimize the output for astral symbols

This commit ensures the output is as compact as possible, i.e. identical to older versions of Regenerate, even for complex scripts like <https://gist.github.com/mathiasbynens/6334847>. Thanks to the new data structure, the new version is *much* faster though.