Tito never went to Spain, he was in France, handling transfer of volunteers over Pyrenees.
While communists in general had no problem with elimination of useful idiots once victory seemed certain, Catalan anarchists were in league with Trotsky, so Stalin wanted their elimination before their...