The Labor Department found the gender-pay gap during a routine probe into whether Google, a federal contractor, is complying with laws that prohibit contractors from discriminating against applicants or employees.