code: private Node tryMinimizeExprResult(Node n) {
      Node originalExpr = n.getFirstChild();
      MinimizedCondition minCond = MinimizedCondition.fromConditionNode(originalExpr);
      MeasuredNode mNode =
          minCond.getMinimized(MinimizationStyle.ALLOW_LEADING_NOT);
      if (mNode.isNot()) {
        // Remove the leading NOT in the EXPR_RESULT.
        replaceNode(originalExpr, mNode.withoutNot());
      } else {
        replaceNode(originalExpr, mNode);
      }
      return n;
    }
docs: Try to remove leading NOTs from EXPR_RESULTS.
  
  Returns the replacement for n or the original if no replacement was
  necessary.