Pakistan's President Mamnoon Hussain praised his country's security forces and pledged to continue the fight against terrorism, speaking at a rally during a national holiday.