Remove duplicate entries from a mysql table