Michael Barr, the Federal Reserve's top regulatory cop, said he will step down on Feb. 28, in a surprise move that will avert a potentially messy legal fight with President-elect Donald Trump who is now free to replace him with an official of his choosing.