TRNC pm resigns