Britain’s top military officer to be replaced