A joint venture that includes Toll Brothers obtained $187 million in construction financing for its first San Diego apartment project, as one of the nation’s largest homebuilders looks to grow its multifamily footprint in California and other states.