Complexity Reduction of Mamdani Fuzzy Systems through Multi-valued Logic Minimization