Fixed a bug in deque when we were given oversized dynamic arrays.
Fixed a bug in deque when we were given oversized dynamic arrays.

If we resized a dynamic_array internally in deque, we would incorrectly
handle the additional blocks if dynamic_array overallocated.

Change-Id: If61e87285350f115d5cfd31c0bc3a06b6a806d51
Reviewed-on: https://wn-project.dnsalias.net/gerrit/354
Try: Andrew Woloszyn <2926f0436f8103ab8257713335cf26447d8bf68a@google.com>
Reviewed-by: Devon Powell <bef84a74f4a3947934cc58306a6aae518eaf1936@gmail.com>
Tested-by: WNBot <efa0942020584fb66fb8bea377b59e48fa0f85ef@gmail.com>

WNProject/WNFramework,WNProject/WNFramework,WNProject/WNFramework,WNProject/WNFramework