Australia has shored up support in the Pacific and dealt a blow to Chinese influence in the region through a security pact with the Solomon Islands.