Better recovery from failure to save replication checkpoint

On 404, clear the saved checkpoint (including its _rev) and retry.
On 409, load the checkpoint again to pick up the current rev, then retry.