Karachi terror mastermind was trained in Iran: CTD