The reason, United Wholesale Mortgage told employees, was to avoid legal bills and long-drawn court proceedings.