A judge trimmed a lawsuit accusing United Airlines Inc. of violating state and federal law by firing an employee who raised religious objections to getting the COVID-19 vaccine.