Intel CEO resigns over past consensual relationship with an employee that violated company rules