These are examples of reduced adverbial clauses,in which the subject and BE are deleted.
While we were exploring the paths of the program, we established ...
Any method which covers ... while it is avoiding path enumeration ...
This reduction is only permitted under two conditions:
The verb of the clause must be in a progressive form, or rewritable as a progressive form.
✲While explored the paths of the program ...
✲... while avoids path enumeration ...
The subject of the clause must be the same as that of the main clause which it modifies, or a pronoun which refers to it.
✲While exploring the paths of the program, a natural partitioning was established ...
This implies that it was the partitioning which was exploring. The technical term is dangling modifier—‘dangling’ because the clause ‘hangs loose’, not firmly attached to an appropriate subject. Note that the unreduced clause is OK, because the differing subjects are distinguished:
OKWhile we were exploring ..., a natural partition was established ...
✲ marks an utterance as unacceptable