SERVER-11817 use enum instead of bool for exact/inexact index bounds

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>