[osh] Fix crashes on type mismatch `s+=([0]=v)`, `a+=([0]=v)`, `assoc+=(0)` (#2221)