Clean up handling of ghost values in PETSc Vec wrapper.