v.21.10Performance Improvements

Introducing Early Exit Checks in sequenceMatch and sequenceCount for Improved Query Performance

Introducing two checks in sequenceMatch and sequenceCount that allow for early exit when some deterministic part of the sequence pattern is missing from the events list. This change unlocks many queries that would previously fail due to reaching operations cap, and generally speeds up the pipeline. #27729 (Jakub Kuklis).