As long as Yuta was alive, she could try again. Prison would be ineffective - she could escape and go after Chorgan as many times as she wanted. They couldn't take that risk.
Riker did not murder Yuta - he killed her to defend Chorgan's life. That is not, and never will be, murder. Defense of self or others is absolutely allowed.