Spain’s withdrawal of an arrest warrant for Catalonia’s ex-leader was almost inevitable