Count votes for the dead candidate the same as votes for the replacement. Not perfect but it may be the best they can do for now as a partial fix.
I’m sure that that would be illegal.