document.atomically can take multiple of the same operation. fixes #3057

Prior to this commit, the second etc operation of a certain type would not execute.

```ruby
doc.atomically do
  doc.inc(:views).
    inc(:other)
end
```

Would have only incremented `:other`. Now it works as expected.