New law means police officers, teachers and others with public pensions will now collect their full Social Security benefits.