I think this is related to couple of issues combined. MATLAB was on E:\ drive, I'd uninstalled and installed it again on C:\.
I've made toolbox path cache update afterwards. Now it is working.
P.S.: After posting this question, I realized that most of the symbolic functions gone crazy. This problem is not directly related to equationsToMatrix function.
Thanks for the replies.