Teach InstCombine that there are three kinds of cast that apply to pointers.

Fixes #37