Libya’s warring sides sign ‘permanent’ cease-fire deal