Dow trims losses, tech stocks rise as investors weigh slowing economy and falling interest rates