Amended gun bill passes judiciary committee