The UN anti-racism committee said countries must work to redress the harms caused by slavery and its continuing consequences.