The former prime minister hit out at the agreement to hand over the Chagos Islands to China ally Mauritius.