While US negotiators trade smiles with Tehran, internal rifts and foreign pressure reveal just how fragile Washington’s position has become