Fix VecDeque::shrink_to
and add tests.
#108475
Merged
VecDeque::shrink_to
and add tests.
#108475