Legislation headed to Gov. J.B. Pritzker’s desk would allow licensed cannabis businesses to take state tax deductions that are currently prohibited at the federal level.