Japan extends virus emergency until month before Olympic Games