4 killed in foiled 'terrorist' attack in Saudi Arabia