A legal activist who lamented the “shameful history” of John A. Macdonald and opposed citizenship tests is now a federal judge. Avvy Yao-Yao Go had been director of a Toronto law clinic that criticized Canadians for “anti-China sentiment and white supremacy.”