agnosticbin: Links sink elements and then link sources

Change-Id: I0b6e7e1d07da73930e04a64ea9da3acae401867e