Legal department leaders for HP Inc., Fortune Brands and Interstate Battery System of America had a candid talk Tuesday about a thorny topic—the gender pay gap in the legal profession.