You need a relay with a Normally Closed (N.C.) connection point connected to the pump. When the relay are energized from the light controller (at dusk), the N.C. point opens, and stops the pump.
Some days, brainstorming just ends up as a brainfart...