Dollar languishes near 3-1/2-month lows ahead of Yellen testimony