On another topic...
It's fair to mention that the solar pump should be tested on it's own. Usually they will starve of water if the main pump is not on, but yours may not. It might just flow enough to keep some water moving through the system (but without filling and being optimum maybe, who knows, i.e. just like your original state). If the solar pump does move water on it's own, ignore the rest of this post.
If water doesn't keep flowing when solar pump runs on its own, you have a choice. If the main pump screws up when you're away, the solar pump may try to run, and could burn out. That's a $250ish >=2 go'fer trips, risk. You can add a flow switch that detects flow from the main pump, and use that to protect your solar pump. But the cost, time, place to put it, might not be worth protecting a $250ish risk, that's a personal decision.
The hack, which I don't recommend, is to piggyback the solar controller off the SWG, so it can only run if the SWG is powering the main pump. You have to be sure that the rating on the SWG pump outlet (and whatever dual adapter you use) is enough for both pumps. The downside, and why I wouldn't do it, is that some people on Whirlpool forum have reported electrical 'noise' issues causing funky things to happen on variable speed pumps and chlorinators, and I'm guessing adding a second pump would increase the chance of electrical noise. The problems have just been things like: pump doesn't remember non-default settings; chlorinator needs timers reset; electronic things, solved with a reset and re-programming, so they're not catastrophes, but would be a definite pain if it happened each time stuff runs.
Personally, and subject to hearing more from others here, I would just risk the solar pump, because the SWG failure is unlikely, and the dollar value isn't very high compared to an SWG power supply or the VS pump. I would be shopping for a flow switch in the meantime, and/or it could be added to your benefits side of converting to one pump.