Iraq Foils Plot to Put Terrorists at Posts