We can only assume that Pillar had trade value that corresponds to his projections and salary, which was a lot more than we got. The fact that he has struggled with SF is irrelevant at this point.
If you are right and Law turns into something then that's great, but he has pitched like crap and isn't a major league calibre pitcher in my opinion.