Update erlang/mixed_case.erl

Make factorize function twice faster in some cases.