fix(library/module): do not store full path of imported modules

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
fix(library/tactic): memory leak that only happens when compiling with clang++

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>