MSU survives test from Troy in OT thriller