Title: Seniority rules and efficient contracts