Because cannabis is federally illegal, businesses in Massachusetts have been unable to deduct ordinary business expenses until now.