codegen: fix boxing/unboxing vectors; (head vec) works