Wait for all slaves affected by any writes done in MergeUser batches

Change-Id: I81d2eb07a56ae885fb099ff9586e1d88c92ef401