Can presidents ‘fire’ senior military officers? Generally, yes … but it’s complicated