Re-grouting the mortar lines won’t stop additional cracking. Resolve the root foundation issues first, then reg-grout the bricks.