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

Match old behavior for ensureIndex return value