Spanish PM considers resigning amid wife corruption allegations