If I was the management there I’d locate on a campus large enough (and with blast walls) so such disaster would be unlikely to spread beyond its boundaries a second time.
I completely agree that the fertilizer company invaded the rights of others when its explosion reached outside of its own property. So, the company must face both criminal and civil penalties.