Ursula Brennan to be MoD permanent secretary