Manhattan prosecutor steps down, ending stand-off with U.S. Attorney General Barr