Sets the list element at index to element.
|key holding the list to set the element of.
|index of the element to set.
|value to set the element to.
|On success, the promise resolves with OK.
|If the list does not exist, or the index is out of bounds, the promise is rejected with an error.