Phoenix-1112: Atomically rebuild index partially when index update fails

Are there more tests? How about testing these scenarios:

* updates coming into a table with a disable index (to make sure no updates are lost)
* partially updating the index table
* partially updating a local index table