It should be as simple as this. Your spindle already has some logic to start stop. Tap into that, use a Normally Open switch (add a new relay if needed) to then feed a Normally Open switch triggered by Ramp's output for M8 G Code which then goes to your Coolant Pumps FWD connection. I've Grounded the common side but you need to work out what your VFD wants here.

Click image for larger version. 

Name:	RampsVFD.PNG 
Views:	592 
Size:	46.2 KB 
ID:	25764