Donald Trump has formally signed off Keir Starmer’s controversial Chagos islands deal, No 10 has said.