Libya PM resigns live on TV hours after peace talks restart