Barclays' head of whistleblowing to leave after dropping employment case