4 killed in firing at Bihar factory