Japan’s prime minister has closed all elementary, middle and high schools through the end of next month in order to curb the spread of the virus.