Peabody cheers court ruling over retiree benefits