Richard Spencer’s ouster ends a stunning clash between President Trump and top military leadership over the fate of a SEAL accused of war crimes