Pushing and pulling in prokaryotic DNA segregation