Delete the lower-case version of the header

We just tested that the lower-case version of the header was in the
dict keys.  Then we proceed to delete without using lower().  Whoops.

This patch calls del header[h.lower()] to delete the key we just
tested was present.