Gun-permit bill 'blew up' in the State House on final night