City will help affordable housing developer purchase popular pet store location in exchange for more senior housing