Huge crowds packed the streets of the Iranian capital Tehran for the funeral of the slain Iranian military commander Qasem Soleimani.