IS suffers blows in Iraq, Syria but still launches attacks