How curriculum modifications shape educational pathways: Evidence from linked administrative data in Switzerland