The former prime minister was speaking after a Bill to allow assisted dying in Scotland was voted down by MSPs.