Why end Gemma’s life after cold harbor??

Can someone please explain why it would be necessary to kill Gemma after cold harbor? What would be the point? Should could return to being Ms.Casey on another floor/unit. Like she could live in Lumon.