Ticket #5168: Don't crash when simplifying bit-fields for invalid code.

Hi,

This patch fixes ticket #5168 by making sure one does not oversimplify bit-fields. Please consider merging.

Best regards,
  Simon