Fix incorrect simplification of Matrix4f multiplication

The unittest shows why this doesn't work in the general case. :)