Intel to slash up to 12,000 jobs in restructuring