How are clauses related in intermediate connection?

Ellipsis in Istiʾnāf and Two Grounds for Waṣl