For pedestrian routing, it's helpful to have the footway=link connecting there. I added surface=grass, so that should avoid routing for wheelchairs etc. But if you're a pedestrian and the sidewalk ends, you're gonna step into the street, so might as well make that connection.