Convert remaining asserts to user_assert or internal_assert