Academic groups filed a lawsuit in Massachusetts federal court on Tuesday seeking to block the Trump administration from targeting noncitizen students and faculty members who attend pro-Palestinian protests with large-scale arrests, detentions and deportations, saying it violates the First Amendment.