Bonar, Jakob Peter, active 1678-1717, Württemberg brigadier-general in Dutch service