Update pdf.py

Solved the following bug for me for merging several pdfs together:
  File "pypdf2/pdf.py", line 1547, in _contentStreamRename
    op = operands[i]
KeyError: 0