commit: Move the heavy lifting from cl-seq.el to C.