For cars entering pit road under yellow, I'd suggest keeping the cars going in at safety car speed, and no overtaking going into pit road, or out of. The position you cross the line in will be the position you stay in when you reach the safety car. (Speeding up to reach the safety car from leaving pit road would be feasible, as not to cause incident from the safety car slowing in front of the cars that didn't pit.)