Assert that index in String.insert is non-negative