Four die in Hyderabad factory fire