CXX-238 enforce update/replace bulk semantics

There is a BSONObj::isEmpty method. That might be somewhat clearer than making an EOO BSONElement and testing that. Here and elsewhere.