John Mozeliak will remain as the Cardinals’ president of baseball operations through 2025 after agreeing to a contract extension with the team.