Lawmakers and the governor killed ethics bills that would have made lobbyists’ pay public and banned nepotism in state offices.