Sir Keir Starmer has confronted calls for the UK to pay reparations for its historical part in the slave trade while surrounded by Commonwealth leaders.