Shares of United Parcel Service Inc. took a dive Tuesday, toward the worst performance in nine months, after the package delivery giant reported overall second-quarter profit and revenue that beat expectations, but did so despite a revenue miss by its largest U.S.