Lawmakers kill settlement secrecy bill