Isle of Man votes to legalise assisted dying