Controversial proposals to legalise assisted dying in Scotland were tonight rejected by MSPs in a crunch Holyrood vote.