Monarch praises Britain's role in ending slave trade – but stops short of offering apology at Commonwealth summit