Man hit by police cruiser sentenced to 21 years in prison