schema compile REFACTOR to lys_type_leafref_next
schema compile REFACTOR to lys_type_leafref_next

Move a duplicate code from the ::lys_compile_unres_depset() to the
::lys_type_leafref_next().

CESNET/libyang,CESNET/libyang