Riyadh needs to restore deterrence without being pulled back into a prolonged Yemen war.