Michigan State edges Minnesota in home finale