Elvis Andrus singles in the ninth to give Athletics 4-3 win over Royals