Cool concept, messy logline.
All of that futuristic stuff, while necessary to understand the story ultimately, isn't going to do anything to help sell script (probably), or help you identify the story for yourself while you work through your script.
Go back to the basics of the logline; What is the inciting incident, or event? When he wakes up on a garbage heap?
Who is your protagonist? The mind of a corrupt detective in a malfunctioning robot body. (But in essence, a corrupt detective).
What is his goal? To repair his body and get to the starship before he launches, or lose his family for ever.
By stripping it back to the central human components, you should be able to trim it back AND keep it compelling. So I would suggest:
When he wakes to find himself in the body of a malfunctioning robot, a corrupt detective must race against time to repair himself and find his family, before they are whisked away forever on an interstellar starship.