Teachers can approach court if committee violates merit: IHC