A federal judge has dismissed a legal challenge of Justin Trudeau's move to prorogue Parliament, concluding the prime minister did not exceed the bounds of his authority.