DRILL-1044: Optimize boolean and/or operators by short-circuit and fast-success / fast-fail approach.