A van driver who caused the death of a three-year-old girl after taking "at least 20 lines" of cocaine has been jailed for 12 years.