Iran ties with Gulf could hinge on nuclear talks