Considering, as you mentioned in the other PR, this is how the server does it (https://github.com/mongodb/mongo/blob/master/src/mongo/db/jsobj.cpp#L569) this is still a bc break for us.

Previously, ensureIndex(["foobar" => 0) would actually be -1, but now it will be 1