Implement slice::split_once
and slice::rsplit_once
#112818
Merged
slice::split_once
and slice::rsplit_once
#112818