Sir John Murray, 8th Baronet — Scottish army officer