For those interested, I made a script that detects and deletes duplicates :
https://code.google.com/p/wp-delete-duplicates/source/browse/deleteDuplicates.php
To use it :
1) First configure the database access by inserting name of database, user, and password
2) Optional : If your wordpress database prefix is anything other than “wp_” (default value), run the function at the end of the script with the name of your posts table name as a parameter. Something like :
deleteDuplicates(“yourPrefix_posts”);
Else just run the function without.