Spacetime Junctions and the Collapse to Black Holes in Higher Dimensions