Spain pledges to stay on in Iraq