EDIT: Just to add, in the scripts I included
Proc_OriginLeft is commented out in block in the goal file GLO_PartyMembers. If you already had GLO_PartyMembers before using my zipped up scripts, yours wouldn't be commented out.
//REGION companion left, origin flag
/*
PROC
Proc_OriginLeft((CHARACTERGUID)_Companion,(STRING)_Reason)
AND
DB_OriginTag(_Tag)
AND
IsTagged(_Companion,_Tag,1)
AND
StringConcatenate("CompanionLeft_",_Tag,_String1)
AND
StringConcatenate(_String1,_Reason,_FinalString)
THEN
GlobalSetFlag(_FinalString);
PROC
Proc_OriginLeft((CHARACTERGUID)_Companion,(STRING)_Reason)
AND
DB_QuestDef_State_CompanionLeft(_Tag,_Flag,_Reason)
AND
IsTagged(_Companion,_Tag,1)
AND
DB_Avatars(_Char)
THEN
ObjectSetFlag(_Char,_Flag);
*/
//END_REGION
My scripts do not include "PROC_GLO_PartyMembers_Kick_PartyMembers_Restore" at all
So that must be coming from somewhere else. Perhaps another Origins goal you are using.
Without looking at it, I would try block commenting out that particular PROC as well and if you get a build, see if anything bad happens.
This is all pretty patchwork obviously. There's a reason it's taken Larian going on 3 weeks, they even started before release.