IDF foils major attack; kills 2 terrorists