NASA Endeavour set to undock, next stop Earth