Add a partition_slice function.
Add a partition_slice function.

Partition the elements in a mutable slice according to a predicate.

sunfishcode/cretonne,sunfishcode/cretonne,stoklund/cretonne,stoklund/cretonne,sunfishcode/cretonne,stoklund/cretonne