recovered a version of dequeue_towards (cf. bb7b5a5942c7);
join_results: work only towards explicit dependencies -- otherwise could produce dynamic cycle (not recorded in queue);
use_thy "FP0";
use_thy "FP1";
use_thy "RECDEF";
use_thy "Rules";
use_thy "Sets";
use_thy "Ind";