A missile hit Chernihiv, which has rarely been targeted since Moscow pulled back from northern Ukraine early in the war.