It's not really going to spread if you cut off it's light source. Give it time, completely blanket the area where the algae has grown and it should die. I have used chemicals --- algae killing chemicals --- intended for live ponds where fish and water plants thrive, so I assume it'd be okay for your plants roots in extremely low doses. If you're really worried about it, you can take a gamble with this shit.