Pa. praised for removing unsafe dams