Phillies' Thomson ejected in 8-3 loss to Orioles