Like many other phrases that really have no meaning, la~ can be used in a variety of ways. The most common of these would be lighten a phrase that may otherwise be taken as mocking or cruel. It can also be used by itself to express indifference.