InstCombine: Check the operand types before merging fcmp ord & fcmp ord.

Fixes PR15737.