A divided federal appeals court on Thursday vacated a $239,655 fee-shifting sanction imposed on a law firm and its client in a bankruptcy case, saying the judge abused her discretion.