Pentagon sued over failure to report convictions to gun database