Messages of shock and grief are coming in from heads of government, remembering the former prime minister of Japan as a “towering global statesman.”