Before they were federal judges, James Emanuel Boasberg and Brett M. Kavanaugh were classmates at Yale Law School and housemates in a red brick off-campus townhouse, where they forged a bond that carries forward to this day.