The prime directive was violated in this episode, but one of the themes of Star Trek is that basic empathy and decency supersedes the strict application of the rules.
And it's certainly not Wes responsible for following the orders he was given.
And it's certainly not Wes responsible for following the orders he was given.