Ankara has pledged to fully apply a law to remove millions of stray dogs from the streets after the death of a toddler.