Handle 2.6's empty $set (SERVER-12266) error as gracefully as possible without significant API change