You actually don't have to do it yourself, it is automatic. When the inventory is full and you pick a new item, the first of your inventory is lost to make room for the new one.
Not intuitive I know, but it was a safeguard from having an inventory full of ingredients that cannot be combined haha.