collections.deque with maxLen=0 behaviour matches cpython

fixed #1144