OPEC agrees to cut production after oil price slump