Fixed a bug in which if the pos supplied to splitSize == 0, it would
cause a crash and undesired behaviour. Since a list cannot be split when
the pivot is the first element itself.