EU weighs deal with TSMC, Samsung for microchip foundry