BUG: Bug in setting using fancy indexing a single element with a non-scalar (e.g. a list) (GH6043)

closes #6043