Theranos president to leave company as federal scrutiny continues