A bill to legalize euthanasia in Scotland defeated