Government may have broken law over sewage dumping, watchdog finds