Montana man who shot into crowd at Idaho bar sent to prison