A recent ruling from a Philadelphia judge dealt a blow to a defense commonly used by companies that rely on gig workers.