genDefectRegistry: support multiple versions of same CCD defects

Multiple versions of the same CCD defects were thrown in the
database with the same end date (way in the future), so that
the query to find the defect ended up with multiple rows.
Instead, have one defect valid until the next, and only the
last is valid into the future.
add defect files to flag another bad amp in CCD 9 starting semester 14B

CCD 9 has lost another amplifier (now 2 out of 4).  This update
will allow us to process S14A and S14B data without hacking the
mapper etc.
fixup! genDefectRegistry: support multiple versions of same CCD defects