The Federal Reserve has freed BNP Paribas from a 2017 consent order tied to its foreign exchange trading operations, ending an enforcement action that came with a more than $246 million fine and was one of several to target big banks over past price-fixing concerns.