Semiconductor giant Intel’s dumping of Bob Swan follows technology missteps, market-share losses and hedge fund pressure.