A federal appeals court is allowing the IRS to keep sharing some taxpayer data with U.S. Immigration and Customs Enforcement