Japan’s core machinery orders dropped in May, contrary to economists’ expectations of significant gains.