In the current parallel merkleization implementation, we can fail on an edge case that can't happen in common networks: a state that starts with a branch as the root node and turns into an extension or leaf. We should add support for it, just for completeness.