Spain’s standoff with Washington over Iran exposes rare rift in NATO