Six Thai hostages who had been kidnapped and held by Hamas in the Gaza Strip for weeks were set to return home, according to official announcements.