Diplomatic sources said the Prime Minister is ready to apologise for Britain's role in the slave trade within months, despite warnings it will trigger claims for trillions of pounds in compensation.