The pacts will come as a relief to law school graduates concerned the pandemic will limit their job opportunities in the short term.