removeInvalidEmails.php: Fix batching continuation for wikis with >500 users

Change-Id: I6343aa204ddd68e9685630b67ac0b0ca535b426b