Afghan President Ashraf Ghani has promised to "bury" the so-called Islamic State (IS) militant group, whose local offshoot has clashed with government forces and Taliban fighters, in an exclusive interview.