Gov. Phil Murphy has signed legislation to allow developers to partner with government entities for projects on publicly owned land, reviving and expanding a popular law that has helped reshape several of the state’s college campuses in recent years.