The blue-chip index had surged early in the day after the US election result, but swung back to finish in the red on Wednesday.