FIXED: Moved process of directives in '$compile_term'/3 into '$store_clause'/3,
       and created the predicate '$record_clause_or_directive'/3, to allow
       directives appearing after the '$source_location'/2 indicator.  This
       avoid problems when an early expansion adds such indicator and further
       expansions add directives.