Spinor field in a Bianchi type-I universe: Regular solutions