The panel sided with the government in the bulk of the convoluted tax case, rejecting a more than billion-dollar tax refund Exxon sought.