Turkey and the US have agreed to fight Islamic State of Iraq and the Levant (ISIL) in a stretch of territory in northwest Syria.