Officials: Man killed by sheriff's deputy wanted to die