TOKYO—The United States and Japan on Sunday agreed to keep American troops within their bases amid a rise in COVID-19 cases in Japan. The restrictions starting Monday will last 14 days, confining U.S. military personnel to base facilities except for “essential activities,” a statement from the U.S. Forces in Japan said. The Japanese Foreign Ministry…