H.R. McMaster's exit is the latest in a series of high-profile shakeups in the Trump administration.