If Beltre wasn't part of the deal, it favors you in my view. Miller is probably better than Buerhle (although it's close) and Pujols is better than Glaus, hands-down. With Beltre in there, though, it's a very slight edge to him.
I would make the deal. Miller is injury-prone, and it won't hurt you to diversify your starting pitching a bit more. Beltre isn't enough of a player for you to turn it down.