Bahrain has offered overstaying workers including Bangladeshis an opportunity to legalise their employment there.