The US says it will licence entities to sell the oil to Cuba except those linked to the Cuban government and military.