SAN FRANCISCO (Reuters) - A U.S. judge gave the final approval on Thursday to a settlement agreement in a class-action lawsuit against Lyft, ending a legal case that challenged the independent contractor status of the company's drivers.