Chad rivals strike peace deal in Libya