[loose parser] Less aggressive termination heuristic for comma-separated lists

See https://github.com/marijnh/tern/issues/118