Gold edges down, after best gain in three months on CPI data