gold edges up as dollar index slumps to three-year lows