The Federal Reserve was slow to understand how the collapse of the housing market would lead to a profound financial crisis, Chair Janet Yellen acknowledged Wednesday, arguing that even if it had acted more aggressively the crisis could not have been prevented.