Taliban peace will help in fighting IS: Afghan official