doc: fix documentation of setindex! [closes #2993].