Luthen's ending was ... well, not unexpected. I didn't really have expectations. I suppose maybe that it would be to Cassian to kill him to protect the Rebellion. It being himself, and then Kleya, and it being without any great heroics, to take him out, just works.
I didn't see Pantagaz' end...