Cleanup function for duplicated messages (not LMC) in history
This is a split of #8750 (closed). Once Gajim saved dups of messages in the history, they remain there. It seems we'd need some clean-up function for messages identified definitively as dups.