Iraq president 'would rather resign' over PM nominee