Allow v=0.0 for ghosted PETSc and Trilinos vectors