Batcher: fix bug with removing objects; see #19

Before this commit we did not update the internal map of batches
by objects, which caused an invalid state.