AJ Ellis 3-run HR in 9th leads LA over Astros 6-3