Thai June factory output falls 17.66%, better than forecast