BUG: duplicate indexing with setitem with iloc (GH6766)

closes #6766