Sir John Macgregor Murray, 1st Baronet — Scottish army officer and baronet