Erdoğan bids to contain fallout from Turkey’s $18bn stock market scandal President says those ‘engaged in manipulative schemes’ will be held to account as deputy chair of governing party resigns