Fortunately, there are legal and strategic ways to lower your taxable income and keep more of your retirement money.