Nix the Splittable class; add fromFunction

Also export splitTraverse, and write mapWithIndex using
a hand-unboxed mapWithIndex#.