Intel drops almost 8% after chipmaker reports hefty loss in foundry business