Cuban state to shed thousands of eateries, eliminate subsidies