Simplify evaluate_passed_pawns

From a suggestion by David Zar.

No functional change.