Canadian Pacific freight trains, which Buffalo residents believe are longer and more numerous than ever thanks to the North Dakota oil boom, have increasingly been blocking intersections, cutting off the city’s north side from its south side and sending drivers scrambling sometimes out of town to find an open crossing.