Sir Keir Starmer had refused to grant the US permission to use the Diego Garcia military base.