Any decision by Iran to keep fighting would complicate President Trump’s stated goal of trying to end the war within weeks.