Use threadpool when particle splitting.

!984 (merged) has simple loops over particles, this could be improved by using the threadpool.