Following Iranian strikes on US military installations in Bahrain and Kuwait, Iran and the US have agreed to halt attacks and renew diplomatic negotiations.