OTTAWA — Canada's long-held consensus on immigration — that it's a net positive for the country — has been coming apart in recent years.