Moody’s cut Japan’s credit rating to A1 from AA3 on Monday, just minutes after the Nikkei closed at a seven-year high.