It underwent extensive script overhauls after Carl Weathers’s death to embed heartfelt tributes without changing its comedic tone