Special provisions can help those who’ve stopped working cut their tax bill in retirement. Find out about them.