[PHP-680] Reset tag count after freeing tagsets

See: https://jira.mongodb.org/browse/PHP-680