refactor: std.vector simplifications.

* lib/std/vector.lua: Fix usage examples to use `avector` instead
of `anvector`.
(set): Factor away use of debug.argscheck.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>