NEW YORK — Intel CEO Brian Krzanich resigned after the company learned of what it called his consensual relationship with an employee. Intel said Thursday that the relationship was in violation of the company’s non-fraternization policy, which applies to all managers. The company did not give more details on what happened and a representative did not immediately return a message for comment on Thursday. Chief Financial Officer Robert Swan will take over as interim CEO immediately.