Judge blocks new state teacher contract forms