Sorry for your loss, but unfortunately, funeral expenses cannot be claimed as an income tax deduction. If the value of your husband’s estate was large enough to require the filing of a federal estate tax return, then funeral expenses can be deducted on that return, Form 706.
Taking an offsetting investment position to reduce the risk of loss in a similar investment.