Deal with nuclear-armed power comes a week after Gulf states were deeply rattled by Israeli attack on Hamas leaders in Doha