[asynchat] fix unsafe del deque

http://bugs.python.org/issue17925