Top Federal Reserve official resigns as bank deregulation looms