You can sometimes get a do-over on an IRA distribution, but you have to follow the rules. Here’s how.