A Novel Optimizable Inherent Safety Index Based on Fuzzy Logic