Malaysia's June factory output dips 0.4% y/y