[math-fun] Quaternion GCD and canonical associates