You might be leaving money on the table— and these legal deductions could help you keep more of it.