Cardinals agree to terms with Boggs, Mujica