Fix extend followed by yaydict

Prior to this commit the following::

    extend foo: []
    bar: []

was trying to parse as though the extend node took bar as a child,
when in fact it is a sibling of the extend node.