his depends highly on your data but you can use correlation in your scalar select. Something like
UPDATE ingredient_aliases
SET a.ingredient_id =
(SELECT MAX(ingredient_id) AS max_id
FROM ingredient_aliases
WHERE name LIKE '%' + ingredient_aliases.name + '%'
AND ingredient_id IS NOT NULL)
WHERE ingredient_id IS NULL