Removes and returns the element at index. The internal storage may shift elements towards either end to fill the gap.
if index is out of bounds [0, size).