Extract path.c from misc1.c
Move remove_duplicates to garray.c