Do not allow invalid limit for legacy delete operations

See: https://jira.mongodb.org/browse/PHP-1126
Functional tests for command and legacy batches
Fix nMatched calculation for legacy updates

If we are not performing an upsert, "n" is simply "nMatched" and there is no need to consider "updatedExisting".