Videos of Justice Yadav speaking on provocative issues, including his purported remark on “law working according to majority” were circulated on social media