The country’s crisis has its roots in the late President Hugo Chávez’s own brand of socialism: an overreliance on oil exports, excessive social spending, price and currency controls, and state regulations.