In one of her last acts as US ambassador, Caroline Kennedy has sealed a deal to safeguard at-risk South Pacific cultural relics and artefacts.