Judge rules against Ind. teacher who claims he was forced to