The PM writes to civil servants following tensions over the sacking of former Foreign Office boss Sir Olly Robbins.