Gold slumps to 3-month low on US optimism