The travel warning was issued as the US military said it expected Isil to resort to more traditional terrorist attacks after it loses its twin city strongholds of Mosul and Raqqa, both of which are under pressure.