SI-5833 Fixes tail-of-Nil problem in RefinedType#normalizeImpl

RefinedType#normalizeImpl was checking to see if the flattened list of
parents had an empty tail then pulling the head if so. But if the list
was empty then boom. This fix makes it check if the whole list has
length 1 instead. Empty lists will flow through to the rest the logic
which has no problems with Nil.
Merge pull request #2062 from JamesIry/2.10.x_SI-5833

SI-5833 Fixes tail-of-Nil problem in RefinedType#normalizeImpl