The party’s left flank has come out strongly against U.S. military action. Others have taken more measured stances.