Splits the list into the elements before index and the elements from index onward.
when index is outside 0..size.
0..size