Spain takes tentative first step to legalising euthanasia