Woman with dementia returns home after 640 kms detour