Reduce roundtrips for distarray functions.

Distarray functions now take 1 roundtrip per engine.