Equity benchmarks closed with modest losses on Tuesday as investors opted to pocket some gains at record levels.