SERVER-8513 Fixed $setOnInsert to allow in-place update if it's a no-op.