Replace instances of thrust::cpp::tag with thrust::seq.

Fixes #365