The move by the administration of U.S. President Donald Trump presents a dilemma for Tokyo, a strong backer of multilateral groupings and a key American ally.