A Manhattan federal judge Thursday sentenced a Massachusetts accountant brought down by the Panama Papers investigation to 39 months in prison for tax evasion, wire fraud, money laundering and other charges for helping law firm Mossack Fonseca's clients avoid taxes.