Japan's October core machinery orders rose for the first time in three months to beat expectations.