EBay Posts First-Quarter Loss Tied to Tax on Foreign Profit