It merges standalone IfBranch/ElseIfBranch nodes into IfElseIfChain nodes. This will ease CFG generation later.
NullableTree
And use this in ElseIfBranch node.