Police killer gets longest sentence in Canadian history