4 killed, 17 injured in blaze at pharma firm in Andhra Pradesh