MSPs will be given a free vote when Liam McArthur's landmark legislation to legalise assisted dying returns to Holyrood in the New Year.