Assembly passes bill to allow medically assisted death for terminally ill New Yorkers