Gauge-Invariant Ideals in the C*-Algebras of Finitely Aligned Higher-Rank Graphs