A general license will allow most foreign firms to produce and trade Venezuelan oil despite US sanctions — with China, Russia and Iran being notable exceptions.