Use a tuple of fragment and glyph indices as the index type for LineBoxes

Glyph indices are currently not tracked, once they are, they will allow us to implement faster linebreaks in the future.