moving remapPartition to apf

this used to be in parma_group,
but mds needs it for its split helper,
so move it to apf to preserve the
package dependency graph