Terminally ill adults with less than six months to live will have right to end their own life under new legislation