Military stopped terrorists from disrupting presidential poll –DHQ