How security in tribal areas has been impacted in the recent wave of terror attacks across the country