Afghan refugees to stay in Pakistan until end of year