Call std::unique on community and ext community vectors to get rid
of duplicates.