Square-free decomposition in Finite Characteristic: An Application to Jordan Form Computation