Pakistan optimistic about Iran nuclear deal