Deque#pop, Deque#shift: when empty, return empty object of same class