Salary gap narrows for in-house lawyers