Dundee man who tried to murder golfer with chainsaw handed eight years in jail