Also, the entire institution of police/prosecutors/courts/judges need a disincentive against misconduct not just individuals. Otherwise they can just use a revolving door of disposable/sacrificial cops to violate rights and get convictions.
Allowing convictions to stand in spite of illegal investigation methods makes rules against those methods completely meaningless for defendants.