fix grains.setvals: also update loaded grains

Fixes #11604