The war may hand Democrats power in Congress. Any peace that lasts will need GOP votes and terms Tehran can be held to.