Ghani vows to prevent further instability in Afghanistan