A drugs ring which supplied contaminated heroin linked to 14 overdoses and several deaths has been broken up by police.