vec: reduce capacity in `shrink_to_fit`