Panama extends validity of residence permits for foreigners