State makes deal to try to earn ‘Race to the Top’ funding