KSE-100: Stocks end flat following a volatile session