The prime ministers of Australia and Solomon Islands signed a bilateral security pact following reports that the tiny South Pacific island nation will end its secretive 4-year-old defense deal with China.