Trump heads to G7 as US-Iran deal hangs in balance