International cricket is set to return to Pakistan in January after Bangladesh agreed to tour the country.