Both Washington and Tehran know they cannot win this conflict outright – and that shared reality may force a deal neither side wants but desperately need, says Sean O’Grady