Angels avert road sweep vs. A’s with 5-run 8th