St Clair, James Louis, Lieutenant Madras Army