Remove unused code.
Correctly wire partition function in `partition-targets`.

`:partition-f` parameter passed to `pallet.api/lift` was not took into account in the partitioning logic.