Gassmann Equivalence and Decompositions of Jacobians