The Canadian province of Quebec says it will trim its budget deficit in the years ahead as it brings in more tax revenue and restrains new spending, despite trade tensions with the US.