Judge gets public warning over eating for free at law firm’s luncheon before awarding it $2M in legal fees