Represent an LR parser state using HashSet instead of Set since the item ordering doesn't matter and it improves performance.