Japan's Supreme Court invalidates distinctions on nationality