As long as you understand that it's not only in NDZs that it's illegal to dump a tank or flush directly overboard, it's illegal in all US waters within 3 miles of the US coastline. The Chesapeake Bay is an example. There's only one small NDZ--Herring Bay--in the whole Bay...the discharge of TREATED waste from a USCG certified Type I or II treatment device (ElectroScan or PuraSan) is legal, but dumping or direct discharge is not.
If you still want to keep the macerator, I'd get rid of both of the ball valves--the one you have and the one you wanted to install--and put a shutoff valve in that discharge line at the tank.
Plan B 1.0 : relocate the macerator pump to put it above the tank, or at least at the top of the tank. Use a 90 degree tank fitting and run the line up to the macerator pump. This will eliminate the need for a shutoff valve at the tank and give you a downhill run all the way to the thru-hull, eliminating standing sewage in the line from the macerator pump. You'd still have standing sewage in the line from the tank fitting to the level in the tank ...if you weren't using SaniFlex hose, I'd recommend that you use hard PVC to the top of the tank, then switch to hose...wouldn't hurt to do that anyway.
Plan B 1.2 : Relocate the macerator as described in Plan B 1.0, and put a y-valve in the pumpout line. A threaded plug wrapped in plenty of Teflon tape will seal the lower tank fitting.
Plan B 1.0 and 1.2 are submitted for your consideration without actually seeing the sanitation system on your boat, only going on your description of it.
--Peggie