Deque::make_contiguous could lead to broken invariants
Description
In some branches, Deque::make_contiguous set the back value to either 0 or N when it shouldn't, leading to broken invariants and out-of-bounds writes.
Reported by DRMacIver and github.com/