Terrorist attack on Islamabad Stock Exchange foiled: CTD