A famed Boston attorney will not have to pay damages to a former boarding school teacher over two demand letters the lawyer wrote on behalf of a client falsely accusing the teacher of  sexual abuse, a federal judge has ruled.