Legislation would cap costs for insulin