**Describe the bug**
```
SELECT pow('0.0000000257', NULL), pow(pow(NULL, NULL), NULL) - NULL, (val + NULL) = (rval * 0), * FROM (SELECT (val + 256) = (NULL * NULL), toLowCardinality(toNullable(dummy)) AS val FROM system.one) AS s1 ANY LEFT JOIN (SELECT toLowCardinality(dummy) AS rval FROM system.one) AS s2 ON (val + 0) = (rval * 255)
```

https://clickhouse-test-reports.s3.yandex.net/19868/c39ee3f58c85de0f2a7b609377e2f138305dc745/fuzzer_msan/server.log
bool needed_by_split_node = false;
        bool visited = false;
        bool used_in_result = false;
        
        
        Node * to_second = nullptr;
        Node * to_first = nullptr;
    };
    std::stack<Frame> stack;
    std::unordered_map<const Node *, Data> data;
    for (const auto & node : index)
        data[node].used_in_result = true;
    
    for (const auto & node : nodes)
    {
        if (split_nodes.count(&node) == 0)
            continue;
        auto & cur_data = data[&node];
        if (cur_data.needed_by_split_node)
            continue;
        cur_data.needed_by_split_node = true;
        stack.push({.node = &node});
        while (!stack.empty())
        {
            auto & cur_node = stack.top().node;
            stack.pop();
            for (const auto * child : cur_node->children)
            {
                auto & child_data = data[child];
                if (!child_data.needed_by_split_node)