Maine teacher who won $1M award resolves shoplifting charge