Boise man who shot friend sentenced