Parties should avoid tax pledges they may come to regret