Gold settles slightly lower even as dollar softens