Fixed & simplified palindromeWithMinInsertions