Wells Fargo agrees $3bn settlement in fake accounts investigation