As Tehran and Washington test a fragile diplomatic opening, the greatest obstacle to a lasting agreement may come from divisions within Iran’s own power structure.