After hitting record high, profit-taking erases KSE-100 gains