For three years, Virginia took the carrot the federal government offered to states that commit comparatively few errors in awarding food stamps to people who need them.