Fix chinese_remainder() so modular GCD actually works.