Dayton appoints former House speaker as judge