Fagan, Christopher, Lieutenant-Colonel Judge Advocate-General in Bengal