Malaysia's June factory output dips 0.4% year-on-year