The six-year-old bureau, which has been controversial since its creation, had been led by Richard Cordray, who formally resigned on Friday.