Here's my answer:
Suppose that adversary controls the set J of all
parties but two parties which is in the set I.
The simulator is given $(x_j,y_j$) for all $P_j\in J$.
Shares of input wires: $\forall j\in J$ choose
- a random share $r_{j,i}$ to be sent from $P_j$ to any $P_i\in I$
- and a random share $r_{i,j}$ to be sent from any $P_i\in I$ to $P_j$
Shares of multiplication gate wires:
- $\forall i'\ne j<i$, choose a random bit as the value learned in the 1-out-of-4 OT with $P_i$.
- $\forall i'\ne j>i$, choose a random $s_{i,j}$, and set the four inputs of the OT with $P_i$ accordingly.
- $\forall i\ne j<i'$, choose a random bit as the value learned in the 1-out-of-4 OT with $P_{i'}$.
- $\forall i\ne j>i'$, choose a random $s_{i',j}$, and set the four inputs of the OT with $P_{i'}$ accordingly.
Output wire $y_j$ of $j\in J$:
Set the message received from any $P_i\in I$ as the XOR of $y_j$ and the shares of that wire held by $P_j\in J$.
Now, the output of the simulation is distributed identically to the view in the protocol.
Any comments?