The Fire Department said the search for victims on Flatbush Avenue was over, while city investigators began looking into an excavation occurring next door.