libcore: use unboxed closures in `SlicePrelude` methods