Did Marvel’s commercial goals undermine ‘Avengers: Infinity War”s ending?