Haryana factory gutted in fire