Defeat of Isil wasn't the West's original war aim