Writes to non replicated shards shouldn't be buffered or use the WAL

Currently all writes (unless synchronous) have to go through the write
buffer and the WAL in order to guarantee proper replication. This commit
changes the behavior for shards that aren't replicated.

Fix #734.