SERVER-13302 Fix error message when create index during migration fails
(cherry picked from commit 63fbd2ff4dbe5c80ad2c5ac1b35bc5b06e98a14b)