Pure motives and justifiable motives are two different things. The latter means that the motives could potentially serve as good justifications for villainous actions. I highly disagree that Stain's motives justified his murders, even if they were fundamentally admirable.