Refactor look_for_interpreter in install.bat
Refactor look_for_interpreter in install.bat

Replace repeating code with loops. The only side effect should
be that LUA_BINDIR now does not have trailing backslash when
it's inferred.

xpol/luainstaller,xpol/luavm,xpol/luarocks,robooo/luarocks,robooo/luarocks,tarantool/luarocks,keplerproject/luarocks,xpol/luavm,robooo/luarocks,xpol/luavm,tarantool/luarocks,keplerproject/luarocks,luarocks/luarocks,xpol/luainstaller,robooo/luarocks,luarocks/luarocks,keplerproject/luarocks,xpol/luarocks,xpol/luavm,keplerproject/luarocks,tarantool/luarocks,xpol/luarocks,xpol/luainstaller,luarocks/luarocks,xpol/luainstaller,xpol/luarocks,xpol/luavm