A federal judge in Boston on Friday cleared the way for rescuers to use a sedative to free a whale tangled in fishing line while…