EU posts $4.9B foreign trade deficit in October