Blues acquire Miller, send Halak and Stewart to Buffalo