Judge rules in favor of Virginia transgender student in bathroom case