Increase the sparsity in the frame-to-frame linking.

If a source does not have any non-infinite cost, then we do not include
it in the sparse matrix to compute assignments. Then, we do a little
gymnastic so that the assignments we return are indexes into the
original source list.
Signed-off-by: Jean-Yves Tinevez <jeanyves.tinevez@gmail.com>