Labor-Market Policies in an Equilibrium Search Model