Terrestrial Planet Formation: Dynamical Shake-up and the Low Mass of Mars