SAN FRANCISCO — On the eve of closing arguments in the perjury trial of Barry Bonds, a federal judge on Wednesday granted prosecutors’ request to drop one of the five charges against him.