Former chief MoD legal adviser receives apology from Penguin Books