Legislation that's passed the state Senate would require more dam inspections and emergency planning, and let the state remove dams in danger of failing.