It seems that the Krag's (the prosecutor) case was based on the fact that Riker shot the machine to kill Nel Apgar as he was being beamed away. However, we see that when he is beamed onboard, he has no phaser. Couldn't O'Brien have testified that Riker had no phaser when he beamed onto the ship?