Legislation that includes retirement provisions affecting public safety employees and state and local government retirement plans is nearing passage on Capitol Hill as part of an end-of-year omnibus spending bill.