Unlink the element replaced in ucl_array_replace_index from the linked list

This way when the element in ucl_object_unref()'d, it doesn't cause the items after that item in the linked-list to also be unrefd