Ruling closes child support loophole for self-employed