replace CHECK with UTIL_THROW_IF in Moses
replace CHECK with UTIL_THROW_IF in Moses