Dodgers sign former rival closer