Loewy Decomposition of Linear Differential Equations