Impaired driver sentenced for crash that killed child