A's overcome disputed call to beat Rangers 5-4