The batch commit process is looking at records against the database. When committing, if the person exists twice in the file, it sees the second entry as a possible duplicate.

To resolve this, commit the batch first (which will create records for everyone in the batch). After that, run the import process and batch commit again on the same file. Now the second entries will read in the database and update the records.