Vec state

PETSc Vecs cache some state, we need to invalidate when returning a context manager reference to them.