Learning dynamics of deep linear networks with multiple pathways