Fix assertion failure on large rollback in parser