Lieutenant Torres had broken off a piece of metal and attacked the vihaar at the end of this episode and from what is shown she had killed him prior to the vessel explosion. It's very well known that Starfleet isn't in the habit of killing life forms. Even if the vihaar was in fact dead already it doesn't justify what she did. She should've been reprimanded for her actions when she returned to the ship.