Add assertion to check for XOR gates where input wire IDs are the same.

Adds an assertion to check if gates violate assumptions that will cause information leakage in Free XOR garbled circuit systems.