SERVER-12215 createIndex and ensureIndex do not report error with write commands