FBI must be independent and above the partisan fray, outgoing director says in farewell address