Bound by his ferocious loyalty to the ruling dynasty, the former head of state enjoyed a decades-long career in Pyongyang