Australia and Vanuatu have signed a long-awaited security agreement aimed at strengthening regional ties and cementing Canberra’s role in the Pacific.