There are many 401(k) tax traps, but few of them are as expensive as RMDs. Here's how to minimize your tax bill.