General intelligence chief ousted after reports of senior officials fomenting unrest, calling for mass protests against the government