The British government will put on three charter flights to repatriate 500 Bangladeshis stranded in Tunisia after they fled Libya.