Fixed PHP-691: Memory leak during master failover

MongoCollection->update() & remove() do not have this problem
Merged pull request #305