Now, I'm with you that I'd rather that the search results were worse in this specific way, but this sort of thing is surely a direct result of algorithmically optimising search results to present the user with what they're after even if they don't necessarily know exactly how to find it, a general good and a defeating of the sort of SEO techniques we usually complain about here.
In general though - Google already has a 'SafeSearch' function for images, which seems to work tolerably well without complaint. Perhaps a similar system could be introduced both for results and suggestions so that these to illegal content and sites they consider likely to harm my computer could be filtered out by default and only returned if I specifically set the preference or search terms to look for them?
The query of the title of the Pragmatic Bookshelf book that happens to be open on my desk returns 4 relevant links. The remaining 6 are sites advertising free PDF downloads. Back in the day, one would have to go to a dedicated search engine for these links.
As much as I dislike "Censoring", Google should decide whether it wants to be in the business of providing links to sites that clearly are aggregators for filesharing and fileuploading links to pirated and copyrighted content. The Pirate Bay, et al., can take care of that.