The funeral comes amid fraught, sluggish U.S.-Iran peace talks.