A Social Security rule lets some retirees collect several months of benefits at once, but that upfront cash comes with a long-term cost. Here's how it works.