WIP: MPI-CUDA translation fix

Device-side code is correctly generated. Host side, including the CUDA
kernel call site, needs further work.
Refactoring