A Massachusetts federal judge on Friday transferred a Tufts University student’s habeas corpus suit to Vermont, rejecting the federal government’s bid to dismiss the suit or transfer it to Louisiana, where the Turkish doctoral student is currently detained.