SSLR-220 Fix detection of left-recursion