‘Swat accord won’t affect Pakistan’s anti-terror resolve’