Former top diplomat elected Solomon Islands' new prime minister