The number of homes scooped up by investors fell at a record pace last quarter amid higher mortgage rates and forecasts calling for substantial declines in home prices.