Coghill, Thomas, active 1685-1718, 18th Foot