[SPARK-2890][SQL] Allow reading of data when case insensitive resolution could cause possible ambiguity.

Ahh, this reorders the schema and breaks things. Props to @andyk.