util.splitbrackets: cope with unmatched } at start

a}b{c}d -> 'a}b','c','d', instead of not splitting.