BAGHDAD - Iraq will take 'all the necessary measures' to prevent cross-border attacks by Islamic State militants in Syria, Iraqi Prime Minister Haider al-Abadi said on Tuesday.