Refined error recovery with restoring illegal reduces before recovery.