A's stun Red Sox, 9-8 in 11 to spoil Jim Rice night