Livent was Canada’s highest-profile fraud—and its founders had to know this was the best possible ending