Britain's July trade deficit has hit its lowest level since records began in 1998, surprising the markets.