Pasta salad and barbecued chicken are a natural pairing for July Fourth celebrations. They’re even better in the same dish.