S&P 500 eyes 8th straight weekly gain amid Iran deal hopes