If the White House wants to broker a lasting settlement, it’s going to have to make continued war more costly for him.