Industry and regulators knew decades ago that injecting drilling’s toxic liquid leftovers underground wasn’t safe.