Kraft Heinz has confirmed 40 jobs in Pittsburgh are to be cut amid moves to outsource some administrative roles.