Throw an exception if there are duplicate index names defined in a single table