Allow 'theirId' to match my used ID.

The outgoing and incomming keys should never match in practice (just in
the test program) so there is no security issue with allowing matching IDs
(adversaries can not replay a nodes' message back to the sending node).