Ontario judge overturns doctor’s will that would have granted scholarships only to white, heterosexual students