You will need what's known as a preinstallation environment to rectify this issue. For example, this is one:
UBCD for Windows
Once you find a proper PE, navigate to c:\Windows\winsxs\pending.xml Delete this file and restart your machine. Once that is done, it will run through the updates again and you should be fine.