South Korea and nine Southeast Asian nations have signed a free-trade deal , with Thailand as the lone critic to the agreement because of a dispute over rice .